
Page({
  data: {
    info: [
      { id: "0", img: "", name: "考勤", info: "日常考勤" },
      { id: "1", img: "", name: "测试按钮", info: "管理员密码8888" }
    ]
  },
  tap: e => {
    var btnID = e.currentTarget.id
    switch (btnID) {
      case "0": wx.navigateTo({ url: '../attendance/attendance', }); break;
      case "1": 
        break;
    }

  },

})